// $Header: $

using System;
using System.Data;

namespace LogParser.DA
{
    /// <summary>
    /// Summary description for LogParser.DA.ClassModel.
    /// </summary>
    public class ClassModel
    {
        #region Private Member Variables

        #endregion

        #region Constructor
        /// <summary>
        /// Initializes a new instance of the <see cref="ClassModel"/> class.
        /// </summary>
        public ClassModel( )
        {
            //
            // TODO: Add constructor logic here
            //
        }
        #endregion

        #region Public Properties

        #endregion

        #region Private Properties

        #endregion

        #region Public Member Functions

        public static DA.DataObjects.ClassesStatsDS.ClassesStatsSelectDataTable GetClassStatsList( )
        {
            DA.DataObjects.ClassesStatsDSTableAdapters.ClassesStatsSelectTableAdapter ta = LogParser.DA.TableAdapters.ClassesStatsSelectTableAdapter();
            DA.DataObjects.ClassesStatsDS.ClassesStatsSelectDataTable dt = ta.ClassesStatsSelect();

            return dt;
        }

        public static int GetClassHeadshotCountSelect( int classId )
        {
            DA.DataObjects.ClassesStatsDSTableAdapters.ClassesStatsSelectTableAdapter ta = LogParser.DA.TableAdapters.ClassesStatsSelectTableAdapter();

            int killCount = (int)ta.ClassesHeadshotCountSelect( classId );

            return killCount;
        }

        public static DA.DataObjects.ClassesStatsDS.ClassesSelectTop25StatsDataTable GetClassStatsTop25( int classId )
        {
            DA.DataObjects.ClassesStatsDSTableAdapters.ClassesSelectTop25StatsTableAdapter ta = TableAdapters.ClassesSelectTop25StatsTableAdapter();
            DA.DataObjects.ClassesStatsDS.ClassesSelectTop25StatsDataTable dt = ta.ClassesSelectTop25Stats( classId );

            return dt;
        }

        #endregion

        #region Private Member Functions

        #endregion
    }
}

#region VSS Log

/*
 * $Log: $
 */

#endregion VSS Log